package com.lyncs.ods.resp;

import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import com.lyncs.ods.modules.txn.model.TagInfo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @author alex
 * @date 2022-05-06 14:43
 */
@Data
@Accessors(chain = true)
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
public class DeliverShortInfoResp {

    @ApiModelProperty(value = "sku种类数量")
    private Integer skuCount;

    @ApiModelProperty(value = "订单ID")
    private Long orderId;

    @ApiModelProperty(value = "订单名称")
    private String orderName;

    @ApiModelProperty(value = "交付单ID")
    private Long deliverId;

    @ApiModelProperty(value = "交付单名称")
    private String deliverName;

    @ApiModelProperty("标签信息")
    private List<TagInfo> tagInfos;

    @ApiModelProperty(value = "交付单创建企业信息")
    private CompanyShortInfoResp companyInfo;

    @ApiModelProperty(value = "交付时间")
    private LocalDate deliverTime;

    @ApiModelProperty(value = "交付单中此sku总金额")
    private BigDecimal deliverAmount;
}
